package service;

import po.Line;
import po.Sight;

import java.util.List;

/**
 * Created by apple on 2017/10/21.
 */
public interface LineService {

    boolean createLineInfo(Line line);

    boolean deleteLineInfo(Line line);

    boolean updateLineInfo(Line line);

    Line selectLineByLineId(Integer lineid);

    Line selectLineByLineName(String linename);

    List<Line> selectLinesByCompanyId(Integer companyid);

    List<Line> selectAllLinesIncludeSight(Sight sight);

    List<Line> selectAllLinesInfo();
}
